package com.julius.design.pattern.proxy;

/**
 * @author Administrator
 * @date 2021-06-28 下午 1:50
 * <p>
 *     静态代理
 * </p>
 */
public class StaticProxy implements TargetInterface {

    @Override
    public String prettyPrint(){
        TargetPrint targetPrint = new TargetPrint();

        System.out.println("静态代理增强前");

        targetPrint.prettyPrint();

        System.out.println("静态代理增强后");
        return null;
    }
}
